package com.huarui.companypackage.model;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.ewaf.framework.model.BaseDataObject;

/**
 * xzz
 * 
 * @author Administrator 套餐
 */
public class Package extends BaseDataObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5462634241063303220L;
	/**
	 * 赠送套餐
	 */
	public static final Integer IS_GIFT_YES = 1;
	/**
	 * 收费套餐
	 */
	public static final Integer IS_GIFT_NO = 0;
	private Integer id;
	/**
	 * 套餐编码
	 */
	private String code;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 价格
	 */
	private BigDecimal price;
	/**
	 * 描述
	 */
	private String description;
	/**
	 * 有效开始时间
	 */
	private Date gmtBegin;
	/**
	 * 有效结束时间
	 */
	private Date gmtEnd;
	/**
	 * 适用的公司类型
	 */
	private Integer companyType;
	/**
	 * 是否是赠送的服务 Int default 0
	 */
	private Integer isGift = IS_GIFT_NO;
	/**
	 * 赠送条件(0=注册成为公司,1=认证通过) Int default 0
	 */
	private Integer giftCondition = 0;

	private List<String> serviceIds;

	private List<String> companyTypes;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getGmtBegin() {
		return gmtBegin;
	}

	public void setGmtBegin(Date gmtBegin) {
		this.gmtBegin = gmtBegin;
	}

	public Date getGmtEnd() {
		return gmtEnd;
	}

	public void setGmtEnd(Date gmtEnd) {
		this.gmtEnd = gmtEnd;
	}

	public Integer getCompanyType() {
		return companyType;
	}

	public void setCompanyType(Integer companyType) {
		this.companyType = companyType;
	}

	public Integer getIsGift() {
		return isGift;
	}

	public void setIsGift(Integer isGift) {
		this.isGift = isGift;
	}

	public Integer getGiftCondition() {
		return giftCondition;
	}

	public void setGiftCondition(Integer giftCondition) {
		this.giftCondition = giftCondition;
	}

	public List<String> getServiceIds() {
		return serviceIds;
	}

	public void setServiceIds(List<String> serviceIds) {
		this.serviceIds = serviceIds;
	}

	public List<String> getCompanyTypes() {
		return companyTypes;
	}

	public void setCompanyTypes(List<String> companyTypes) {
		this.companyTypes = companyTypes;
	}

}
